package com.hyq.market.adapter;


import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.hyq.market.R;
import com.hyq.market.bean.GClass;

/**
 * Created by hl on 2017/5/8.
 */

public class GoodsClassAdapter extends BaseQuickAdapter<GClass.DataBean.CateListBean, BaseViewHolder> {

    public GoodsClassAdapter() {
        super(R.layout.item_layout_goods_class);
    }




    @Override
    protected void convert(BaseViewHolder helper, GClass.DataBean.CateListBean item) {
        helper.setText(R.id.text_decs,item.getName());
    }
}